﻿<%@ Page Title="" Language="C#" MasterPageFile="Site1.Master" AutoEventWireup="true" CodeBehind="RelayList.aspx.cs" Inherits="RaceList.Admin.Relay.RelayList" %>
<%@ Register Src="Paging.ascx" TagName="Paging" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MyContentPlaceHolder" runat="server">
    <script src="../scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <table width="100%">
        <tr width="100%">
            <td width="20%">
                <asp:Button CssClass="btnCss" runat="server" ID="btnRefresh" Text="刷新" OnClick="btnRefresh_Click"></asp:Button>&nbsp;
            </td>
            <td style="color: Red;" width="10%">
                <asp:Literal runat="server" ID="Message"></asp:Literal>
            </td>
            <td style="float:right;"><asp:TextBox runat="server" ID="txtName" placeholder="昵称"></asp:TextBox>&nbsp;&nbsp;<asp:Button runat="server" ID="btnSearch" Text="查询" CssClass="btnCss"  OnClick="btnSearch_Click"/>
            </td>
        </tr>
    </table>
    <div>
        <asp:GridView ID="gvList" CssClass="List" runat="server" AutoGenerateColumns="False" Width="100%"
            EmptyDataText="暂无成绩记录" OnRowCommand="gvList_RowCommand" OnRowDataBound="gvList_RowDataBound">
            <RowStyle Height="36px" />
            <Columns>
                <asp:TemplateField HeaderText="ID">
                    <HeaderStyle Width="36px" />
                    <ItemTemplate>
                        <%# Eval("Id") %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="头像">
                    <ItemTemplate>
                        <img width="20px" height="20px" src="<%#Eval("Headimgurl") %>" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="昵称">
                    <ItemTemplate>
                        <%#Eval("NickName") %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="成绩">
                    <ItemTemplate>
                        <%#Eval("SumScore") %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="姓名">
                    <ItemTemplate>
                        <%#Eval("Name") %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="手机">
                    <ItemTemplate>
                        <%#Eval("Mobile") %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="完成时间">
                    <ItemTemplate>
                        <%#Eval("EditTime") %>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
        <asp:Panel ID="LinkListPanel" runat="server" Width="100%">
            <uc1:Paging ID="Paging1" runat="server" />
            <asp:Button ID="btnPage" runat="server" Text="Button" Style="display: none;" UseSubmitBehavior="false" OnClick="btnPage_Click" />
        </asp:Panel>
    </div>
</asp:Content>
